package orm;

import java.io.UnsupportedEncodingException;

public class Tie {
	
	private int t_id;
	private String t_title;
	private int theme_id;
	private String t_time;
	private String t_content;
	//多对一
	private Users user;
	
	public int getT_id() {
		return t_id;
	}
	public void setT_id(int t_id) {
		this.t_id = t_id;
	}
	public String getT_title() {
		return t_title;
	}
	public void setT_title(String t_title) {
		this.t_title = t_title;
	}
	public int getTheme_id() {
		return theme_id;
	}
	public void setTheme_id(int theme_id) {
		this.theme_id = theme_id;
	}
	public String getT_time() {
		return t_time;
	}
	public void setT_time(String t_time) {
		this.t_time = t_time;
	}
	public String getT_content() {
		return t_content;
	}
	public void setT_content(String t_content) {
		this.t_content = t_content;
	}
	public Users getUser() {
		return user;
	}
	public void setUser(Users user) {
		this.user = user;
	}
	
	//构造方法
	public Tie(int t_id, String t_title, int theme_id, String t_time, String t_content, Users user) {
		super();
		this.t_id = t_id;
		this.t_title = t_title;
		this.theme_id = theme_id;
		this.t_time = t_time;
		this.t_content = t_content;
		this.user = user;
	}
	public Tie() {
		super();
	}
	
}
